function increaseEventRange(event) { upDateEventRange(10);	}
function decreaseEventRange(event) { upDateEventRange(-10);	}

function upDateEventRange(eventIntervalChange) {
	currentEventRangeIndex = currentEventRangeIndex + eventIntervalChange;

	if (currentEventRangeIndex <= 0) {
		currentEventRangeIndex = 1;
	}

	var upperEventIntervalBound = currentEventRangeIndex + 9;

	if (upperEventIntervalBound >= numEvents) {
		upperEventIntervalBound = numEvents;
	}

	if (currentEventRangeIndex >= numEvents) {
		currentEventRangeIndex = currentEventRangeIndex - eventIntervalChange;
	}

	var eventRangeString = "Showing Events<br>" + currentEventRangeIndex + " - " + upperEventIntervalBound + " of " + numEvents;		

	if (s_value == "") {
		eventRangeString = "No Available<br>Events";
	}
	document.getElementById("eventRange").innerHTML = eventRangeString;
	populateWithEvents();
}